//
//  AppDelegate.m
//  TestTable
//
//  Created by wp w on 12-5-24.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "AppDelegate.h"
#import "FirstLevelViewController.h"

@implementation AppDelegate

@synthesize window = _window;

- (void)dealloc
{
    [_window release];
    [super dealloc];
}

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];
    
    UIViewController* rootView = [[[FirstLevelViewController alloc] init] autorelease];
    UINavigationController* navView = [[[UINavigationController alloc] init] autorelease];
    [navView initWithRootViewController:rootView];
 
    self.window.rootViewController = navView;
    [self.window makeKeyAndVisible];
    return YES;
}


@end
